<template>
  <div>
    <van-swipe :autoplay="2000" lazy-render class="img">
      <van-swipe-item v-for="image in imgs" :key="image">
        <img :src="image" />
      </van-swipe-item>
    </van-swipe>
  </div>
</template>
<script>
export default {
  props: {
    imgs: Object,
  },
};
</script>
<style lang='scss' >
.img {
  width: 100%;
  height: 150px;
  img {
    width: 100%;
    height: 150px;
  }
}
</style>